Now that we have the game running, there're a few things we can add to make it even better. Have a go at these exercises, then see how your answers compare with mine.

  1. At the moment, the game only has one pattern, so you could try adding support in for more than one pattern by storing them in a 2 dimensional array, and then adding in another loop around the game loop, that cycles through possible patterns.

  2. The current game only has some quite boring displays to signify the start and end of games, try adding something more exciting. Hint : You could store a pattern as an array and then just use the current pattern drawing functions to display it at the start and end of games.